package cn.wsalix.weixin.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.anlaser.form.CommonForm;
import cn.anlaser.service.CommonService;
import cn.anlaser.service.impl.CommonServiceImpl;
import cn.anlaser.utils.SearchFilter;
import cn.wsalix.weixin.entity.MusicMsg;
import cn.wsalix.weixin.repository.MusicMsgRepository;

@Service("musicMsgService")
@Transactional(readOnly = true)
public class MusicMsgServiceImpl extends
		CommonServiceImpl<CommonForm, MusicMsgRepository, MusicMsg> implements
		CommonService<CommonForm, MusicMsgRepository, MusicMsg> {

	@Autowired
	private MusicMsgRepository musicMsgRepository;

	@Override
	public MusicMsgRepository getRepository() {
		return musicMsgRepository;
	}

	@Override
	public String module() {
		return "/weixin/musicmsg";
	}

	@Override
	public Map<String, SearchFilter> buildByForm(CommonForm form) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class<MusicMsg> getEntityClazz() {
		// TODO Auto-generated method stub
		return null;
	}

}
